Tootsville::Endpoint-Get-/ World/ Sky/ Tootanga/ Latitude/ Longitude→Json

Function

Endpoint-Get-/ World/ Sky/ Tootanga/ Latitude/ Longitude→Json names a function, with lambda list (LATITUDE LONGITUDE):

Get the contents of the sky visible over (LATITUDE, LONGITUDE).

This data includes the position of the Sun (which could be below the horizon), the position of each moon, and the (fractional) phase of that moon. It may also include an array of clouds, precipitation (rain or snow), lightning patterns, &c.

This will not include things that are flying in the sky.

Web Service Endpoint

This is a web service endpoint accessed by the HTTP method GET at the URI template /world/sky/tootanga/:latitude/:longitude. It returns a content-type of application/json.

The URI includes parameters: LATITUDE, LONGITUDE.

It will report a slow response if it takes longer than 0.03 seconds (30 milliseconds) to complete.

File

Defined in file src/endpoints/slash-world.lisp.